package com.maimang.platform.crm.util;

import java.io.Serializable;
import java.util.List;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname TreeNode
 * @description <br>TreeNode接口</br>
 * @date 2019-10-11 14:56
 * @email jintaozhao@qq.com
 */
public interface TreeNode<ID extends Serializable> {

	public ID getId();

	public ID getParentId();

	public <T extends TreeNode<ID>> void setChildren(List<T> children);
}
